package com.malou.client.util;
import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.widget.form.StoreFilterField;

public abstract class RemoteStoreFilterField<M extends ModelData> extends StoreFilterField<M> {
    
    @Override
    protected void onFilter () {
        focus();

        // call to the handler
        handleOnFilter(getRawValue());
    }

    // handler that will call the rpc
    protected abstract void handleOnFilter(String textoFiltro);

}
